package cn.edu.sdjzu.cs.dingcan.entity;

import java.util.Date;

/**
 *  餐桌管理实体类
 *  
 */
public class DinnerTable {

	private Long id;
	private String tableName;
	private Status tableStatus;
	private Date orderDate;
	public enum Status {
		AVAILABLE, OCCUPIED
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public Status getStatus() {
		return tableStatus;
	}

	public void setStatus(Status tableStatus) {
		this.tableStatus = tableStatus;
	}

	public Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}

	@Override
	public String toString() {
		return "DinnerTable [id=" + id + ", tableName=" + tableName
				+ ", tableStatus=" + tableStatus + ", orderDate=" + orderDate
				+ "]";
	}

}
